package lion.formail.reader.reader;

import java.io.File;
import java.io.IOException;
import java.util.List;

import lion.formail.reader.obj.Idx;

public interface IReader {

	public int countEmls(boolean countDeleted, File indexFile) throws IOException;

	public List<Idx> getIndexList(boolean countDeleted, File file) throws IOException;

	public byte[] getEmlContent(Idx index, File boxFile) throws IOException;

	public void export(Idx idx, File boxFile, File dest) throws IOException;
}
